package org.wangtian.youxueban.excel.work;

import lombok.Data;

import java.util.List;

@Data
public class BestBo implements Comparable<BestBo>{
    private List<ChanPinBo> chanPinBos;
    private YuanLiaoBo yuanLiaoBo;
    private Integer min;

    @Override
    public int compareTo(BestBo o) {
       return this.min.compareTo(o.getMin());
    }

    @Override
    public String toString() {
        return "BestBo{" +
                "chanPinBos=" + chanPinBos +
                ", yuanLiaoBo=" + yuanLiaoBo +
                ", min=" + min +
                '}';
    }
}
